- SessionActionTag
- SessionAction
- Tag
- Time
- SessionId
- SystemName
- NodeName
- Timeout
- Key
- Value
- Type
- SessionAction (SessionActionTag tag, long time, SessionId sessionId, string systemName, string nodeName, int timeout, string key, string value, string type)
- Touch (SessionId sessionId, SystemName systemName, ProcessName nodeName)
- Stop (SessionId sessionId, SystemName systemName, ProcessName nodeName)
- Start (SessionId sessionId, int timeoutSeconds, SystemName systemName, ProcessName nodeName)
- ClearData (long time, SessionId sessionId, string key, SystemName systemName, ProcessName nodeName)
- SetData (long time, SessionId sessionId, string key, object data, SystemName systemName, ProcessName nodeName)
- TypeCastFailedStatus
- VectorConflictStrategy
- ValueVector
- Time
- Vector
- New (long time, object root)
- AddValue (long time, object value, VectorConflictStrategy strategy)
- SessionVector
enum SessionActionTag Source #
class SessionAction Source #
field string SystemName Source #
constructor SessionAction (SessionActionTag tag, long time, SessionId sessionId, string systemName, string nodeName, int timeout, string key, string value, string type) Source #
method SessionAction Touch (SessionId sessionId, SystemName systemName, ProcessName nodeName) Source #
method SessionAction Stop (SessionId sessionId, SystemName systemName, ProcessName nodeName) Source #
method SessionAction Start (SessionId sessionId, int timeoutSeconds, SystemName systemName, ProcessName nodeName) Source #
enum TypeCastFailedStatus Source #
enum VectorConflictStrategy Source #
Version vector conflict strategy
class ValueVector Source #
Simple version vector. There can be multiple values stored for the same event. The implementation will be replaced with Dotted Version Vectors once I have implemented a general system for it in the Core.
class SessionVector Source #
field int TimeoutSeconds Source #
property HashMap<string, Either<Unit, ValueVector>> Data Source #
Key/value store for the session only stores the data that the particular node is interested in. Unit if the node is interested in data but does not have a value yet.
property DateTime LastAccess Source #
UTC date of last access
method void ClearKeyValue (long vector, string key) Source #
Remove a key from the session key/value store
method void SetKeyValue (long time, string key, object value, VectorConflictStrategy strategy) Source #
Add or update a key in the session key/value store
method Option<ValueVector> ProvideData (SessionId sid, string key) Source #
Checks local cache for a session data key. If does not exists uses get (redis) to retrieve the data. If data does not exist, an entry is still added to local cache as Unit (Left) to allow syncing with other published data update messages later.
param | key | |
param | get | |
returns |
method Option<ValueVector> GetExistingData (string key) Source #